package com.www.ve.utils;



/**
 * Redis-key组装工具类
 *
 * @author Xiaojie
 * @date 2025/05/20 05:20
 */
public class RedisKeyUtils {
    /**
     * 下划线
     */
    private static final char SEPARATOR = '_';
    /**
     * redis缓存Key统一前缀，必须以此为前缀(redis里的层级目录)
     */
    private static final String KEY_PREFIX = "ZZW:RELEASE";
    private static final String KEY_FORMAT_2 = "%s:%s";
    private static final String KEY_FORMAT_3 = "%s:%s:%s";
    private static final String KEY_FORMAT_4 = "%s:%s:%s:%s";
    private static final String KEY_FORMAT_5 = "%s:%s:%s:%s:%s";

    /**
     * 获取access_token_key
     *
     * @param configName "access_token"
     * @return {@link String}
     */
//    public static String getToken(String configName) {
//        return String.format(KEY_FORMAT_3, KEY_PREFIX, RedisKeyEnum.SYSTEM_TOKEN.getValue(), configName);
//    }

}
